package project.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单表
 * </p>
 *
 * @author YJR
 * @since 2023-07-26
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_orders")
public class TOrders implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单主键
     */
    @TableId("c_id")
    private String cId;

    /**
     * 收货人姓名
     */
    @TableField("c_name")
    private String cName;

    /**
     * 收货人电话
     */
    @TableField("c_phone")
    private String cPhone;

    /**
     * 订单时间
     */
    @TableField("d_time")
    private LocalDateTime dTime;

    /**
     * 订单状态	0 可以取消	1 已取消
     */
    @TableField("n_status")
    private Integer nStatus;

    /**
     * 用户头像
     */
    @TableField("c_icon")
    private String cIcon;

    /**
     * 用户昵称
     */
    @TableField("c_nick_name")
    private String cNickName;

    /**
     * 用户id
     */
    @TableField("c_open_id")
    private String cOpenId;

    /**
     * 景点名称
     */
    @TableField("c_spot_name")
    private String cSpotName;

    /**
     * 商品名称
     */
    @TableField("c_good_name")
    private String cGoodName;

    /**
     * 商品id
     */
    @TableField("c_jdsp_id")
    private String cJdspId;

    @TableField("c_note")
    private String cNode;

    @TableField("d_price")
    private Double dPrice;

    public String getcId() {
        return cId;
    }

    public void setcId(String cId) {
        this.cId = cId;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public String getcPhone() {
        return cPhone;
    }

    public void setcPhone(String cPhone) {
        this.cPhone = cPhone;
    }

    public LocalDateTime getdTime() {
        return dTime;
    }

    public void setdTime(LocalDateTime dTime) {
        this.dTime = dTime;
    }

    public Integer getnStatus() {
        return nStatus;
    }

    public void setnStatus(Integer nStatus) {
        this.nStatus = nStatus;
    }

    public String getcIcon() {
        return cIcon;
    }

    public void setcIcon(String cIcon) {
        this.cIcon = cIcon;
    }

    public String getcNickName() {
        return cNickName;
    }

    public void setcNickName(String cNickName) {
        this.cNickName = cNickName;
    }

    public String getcOpenId() {
        return cOpenId;
    }

    public void setcOpenId(String cOpenId) {
        this.cOpenId = cOpenId;
    }

    public String getcSpotName() {
        return cSpotName;
    }

    public void setcSpotName(String cSpotName) {
        this.cSpotName = cSpotName;
    }

    public String getcGoodName() {
        return cGoodName;
    }

    public void setcGoodName(String cGoodName) {
        this.cGoodName = cGoodName;
    }

    public String getcJdspId() {
        return cJdspId;
    }

    public void setcJdspId(String cJdspId) {
        this.cJdspId = cJdspId;
    }

    public String getcNode() {
        return cNode;
    }

    public void setcNode(String cNode) {
        this.cNode = cNode;
    }

    public Double getdPrice() {
        return dPrice;
    }

    public void setdPrice(Double dPrice) {
        this.dPrice = dPrice;
    }
}
